<?php echo $header; ?>
<!--#content-->
	<div id="content" class="clearfix">
		<div class="wrapper">			 
		<?php echo $column_right; ?>
		
	<div id="primary" class="hfeed">
	
   <div id="left-indent">
      
	 <div id="border-style">
				
		<div class="box">
				 	
			<div class="published"><h2 class="entry-title"><a href="javascript::null"  style="color:white;"><?php echo $heading_title; ?></a></h2></div>
			
			 <?php if (isset($products)) { ?>
			 	<div class="newest">
			      <?php for ($i = 0; $i < sizeof($products); $i++) { ?>
			        <?php if (isset($products[$i])) { ?>
			          <div align="center" >
			          	<a data-tooltip="sticky<?php echo $i;?>" class ="wid" href="<?php echo $products[$i]['href']; ?>">
			          		<img src="<?php echo $products[$i]['thumb']; ?>" width="175" height="175" title="<?php echo $products[$i]['name']; ?>" alt="<?php echo $products[$i]['name']; ?>"  />
			          	</a>
			          </div>
			         <?php } ?>
			      <?php } ?>
			   </div>
			   
			   <div id="mystickytooltip" class="stickytooltip">
			    <?php for ($i = 0; $i < sizeof($products); $i++) { ?>
			    	<?php if (isset($products[$i])) { ?>
					<div id="sticky<?php echo $i;?>" class="atip" >
						<center><img src="<?php echo $products[$i]['image']; ?>" height="250" width="300"/><br /><br /></center>
						<div style="padding: 0px 5px 5px 5px;">
						<table align="center" id="fg" width="300">
							<tr align="center">
								<td> <strong>TÃªn :</strong> <?php echo $products[$i]['name']; ?></td>
							</tr>
							<tr align="center">
								<td><strong>GiÃ¡ :</strong> <?php echo $products[$i]['price']; ?></td>
							</tr>
						</table>
						</div>
					</div>
					<?php } ?>
				<?php } ?>
				</div>		
				
			   <br>
			   <div class="page"><?php echo $pagination; ?></div>
		    <?php } else {?>
		    <div class="newest" style="height: 20px;">
		    	<?php if(isset($this->request->get['keyword'])) {?>
		    	<center>không tìm được kết quả nào với từ khóa "<strong><?php echo $this->request->get['keyword'];?></strong>"</center>
		    	<?php } else {?>
		    	<center>không tìm được kết quả nào</center>
		    	<?php }?>
		    </div>
		    <?php }?>
		</div><!-- #post-## -->
		

		</div>
<div class="right-bot-corner">
<div class="left-bot-corner"></div>
</div>
	 
   </div>
</div>
<!--END #primary .hfeed-->
					
	</div>
</div><!-- END #content -->			

<?php echo $footer; ?> 